package com.wxproject.demo.Entity;/*
 *项目名: WXTEST
 *文件名: LoginEntity
 *创建者: ZQF
 *创建时间:2020/12/15 22:34
 *描述: TODO
 */

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;

import javax.validation.constraints.NotBlank;

@Data
public class LoginEntity {
    @NotBlank(message ="用户名不能为空")
    private String username;
    @NotBlank(message = "密码不能为空")
    private String password;
}
